/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.team.app.model;

import java.io.Serializable;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author donnv
 */
@Entity
@Table(name = "vehicle_view", catalog = "", schema = "")
@XmlRootElement
public class VehicleView implements Serializable {
    private static final long serialVersionUID = 99901L;
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Basic(optional = false)
    @Column(name = "vehicle_id", nullable = false)
    private Long vehicleId;
 /*   @Column(name = "year")
    @Temporal(TemporalType.DATE)
    private Date year;
    @Column(name = "color", length = 45)
    private String color;
    @Column(name = "reg_number", length = 45)
    private String regNumber;
    @Column(name = "fuel_type", length = 45)
    private String fuelType;*/
    @Column(name="transmission")
    private Long transmission;
    
    @Column(name="status")
    private Long status;
    
    @Column(name="daily_price")
    private Double daily_price;
    
/*    @Column(name="pickup_date")
    @Temporal(TemporalType.DATE)
    private Date pickup_date;
    
    @Column(name="return_date")
    @Temporal(TemporalType.DATE)
    private Date return_date;*/
    
    @Column(name="model_name", length = 45)
    private String model_name;
    
    @Column(name="num_of_seat")
    private Long num_of_seat;
    
    @Column (name = "count_feedback")
    private Double count_feedback;
    
    
	public Long getNum_of_seat() {
		return num_of_seat;
	}
	public void setNum_of_seat(Long num_of_seat) {
		this.num_of_seat = num_of_seat;
	}
	public Long getTransmission() {
		return transmission;
	}
	public void setTransmission(Long transmission) {
		this.transmission = transmission;
	}
	public Long getStatus() {
		return status;
	}
	public void setStatus(Long status) {
		this.status = status;
	}
	public Double getDaily_price() {
		return daily_price;
	}
	public void setDaily_price(Double daily_price) {
		this.daily_price = daily_price;
	}
    
	public Long getVehicleId() {
		return vehicleId;
	}
	public void setVehicleId(Long vehicleId) {
		this.vehicleId = vehicleId;
	}
	/*public Date getYear() {
		return year;
	}
	public void setYear(Date year) {
		this.year = year;
	}
	public String getColor() {
		return color;
	}
	public void setColor(String color) {
		this.color = color;
	}
	public String getRegNumber() {
		return regNumber;
	}
	public void setRegNumber(String regNumber) {
		this.regNumber = regNumber;
	}
	public String getFuelType() {
		return fuelType;
	}
	public void setFuelType(String fuelType) {
		this.fuelType = fuelType;
	}*/
    
	public String getModel_name() {
		return model_name;
	}

	public void setModel_name(String model_name) {
		this.model_name = model_name;
	}

	public Double getCount_feedback() {
		return count_feedback;
	}

	public void setCount_feedback(Double count_feedback) {
		this.count_feedback = count_feedback;
	}
    
    
}
